/* 基础样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background: #f5f5f5;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 协议区域样式 */
.agreement {
    height: 400px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    background: #fafafa;
}

/* 复选框容器样式 */
.checkbox-container {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 按钮样式 */
.button {
    background: #4CAF50;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.back-button {
    background: #666;
    margin-top: 10px;
}

/* 标题样式 */
h1, h2 {
    color: #333;
}

/* 支付部分样式 */
.payment-section {
    display: none;
    text-align: center;
    margin-top: 20px;
}

/* 支付选项样式 */
.payment-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.payment-option {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    width: 150px;
    text-align: center;
    transition: all 0.3s ease;
}

.payment-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.payment-option.selected {
    border-color: #4CAF50;
    background: #f0f9f0;
}

.payment-option h3 {
    margin: 0 0 10px 0;
}

.payment-option .price {
    font-size: 24px;
    color: #e65100;
    margin: 10px 0;
    font-weight: bold;
}

.payment-option .save {
    color: #4CAF50;
    font-size: 12px;
    font-weight: bold;
}

/* 二维码部分样式 */
.qr-code-section {
    display: none;
    margin: 20px auto;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 200px;
    height: 200px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.qr-code img:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.qr-code-title {
    color: #666;
    margin-top: 5px;
    font-size: 14px;
}